package com.lichongbing.lyoggl.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2021/12/26 2:07 下午
 * @description: TODO
 */
@Retention(RUNTIME)
@Target(METHOD)
public @interface AccessLimit {
    int seconds();
    int maxcount();
    boolean needLogin() default true;

}
